package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingBaseBusinessGroupDetailEntity;
import com.ly.heart.domain.dto.KingBaseBusinessGroupQueryDto;
import com.ly.heart.domain.vo.KingBaseBusinessGroupVo;

/**
 * 金蝶-业务组类型明细Mapper接口
 *
 * @author cxl
 * @date 2024-06-20
 */
public interface KingBaseBusinessGroupDetailMapper extends BaseMapper<KingBaseBusinessGroupDetailEntity> {
    /**
     * 查询金蝶-业务组类型明细
     *
     * @param id 金蝶-业务组类型明细ID
     * @return 金蝶-业务组类型明细
     */
    public KingBaseBusinessGroupDetailEntity selectKingBaseBusinessGroupDetailEntityById(String id);

    /**
     * 查询金蝶-业务组类型明细列表
     *
     * @param kingBaseBusinessGroupDetailEntity 金蝶-业务组类型明细
     * @return 金蝶-业务组类型明细集合
     */
    public List<KingBaseBusinessGroupDetailEntity> selectKingBaseBusinessGroupDetailEntityList(KingBaseBusinessGroupDetailEntity kingBaseBusinessGroupDetailEntity);

    /**
     * 新增金蝶-业务组类型明细
     *
     * @param kingBaseBusinessGroupDetailEntity 金蝶-业务组类型明细
     * @return 结果
     */
    public int insertKingBaseBusinessGroupDetailEntity(KingBaseBusinessGroupDetailEntity kingBaseBusinessGroupDetailEntity);

    /**
     * 修改金蝶-业务组类型明细
     *
     * @param kingBaseBusinessGroupDetailEntity 金蝶-业务组类型明细
     * @return 结果
     */
    public int updateKingBaseBusinessGroupDetailEntity(KingBaseBusinessGroupDetailEntity kingBaseBusinessGroupDetailEntity);

    /**
     * 删除金蝶-业务组类型明细
     *
     * @param id 金蝶-业务组类型明细ID
     * @return 结果
     */
    public int deleteKingBaseBusinessGroupDetailEntityById(String id);

    /**
     * 批量删除金蝶-业务组类型明细
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteKingBaseBusinessGroupDetailEntityByIds(String[] ids);

    /**
     * 获取业务组列表
     * @param queryDto
     * @return
     */
    List<KingBaseBusinessGroupVo> getBusinessGroupDialog(KingBaseBusinessGroupQueryDto queryDto);
}
